package com.dinghui.salary.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author tanrentao
 * @date 2021-09-06
 * @desc 用户登录参数
 */
@Data
@ApiModel(value = "工资计算公式")
public class SalaryCalculateEquationDTO implements Serializable {

//    @NotBlank(message = "账号不能为空")
//    @ApiModelProperty(value = "账号")
    private String id;

    @NotBlank(message = "公式名称不能为空")
    @ApiModelProperty(value = "公式名称")
    private String name;


    @NotBlank(message = "公式不能为空")
    @ApiModelProperty(value = "公式")
    private String expression;

    @NotBlank(message = "公式不能为空")
    @ApiModelProperty(value = "公式")
    private String expressionList;

    @NotBlank(message = "年月不能为空")
    @ApiModelProperty(value = "年月")
    private String time;

    @NotBlank(message = "年月不能为空")
    @ApiModelProperty(value = "年月")
    private String year;

    @NotBlank(message = "类型")
    @ApiModelProperty(value = "类型")
    private Integer type;



}
